﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page pageEncoding="UTF-8" contentType="text/html; UTF-8" isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link type="text/css" rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
</head>
<body>
<c:if test="${not empty supplier}">
	<div class="main">
		<div class="optitle clearfix">
			<div class="title">
				<h3>供应商管理&gt;&gt;</h3>
			</div>
		</div>
		<form id="form1" name="form1" method="post" action="${pageContext.request.contextPath}/supplier/update">
			<input type="hidden" name="method" value="update">
			<input type="hidden" name="userId" value="-1">
			<div class="content">
				<font color="red"></font><table class="box">
				<tbody><tr>
					<td class="field">供应商编号：</td>
					<td><input type="hidden" name="supplierID" value="${supplier.supplierID}">${supplier.supplierID}</td>

				</tr>
				<tr>
					<td class="field">供应商名称：</td>
					<td><input type="hidden" name="supplierName" value="${supplier.supplierName}"> ${supplier.supplierName}</td>
				</tr>
				<tr>
					<td class="field">联系人：</td>
					<td><input type="text" name="contactPerson" class="text" id="contactPerson" value="${supplier.contactPerson}"> <font color="red">*</font><font color="red" id="contactPerson_span"></font></td>
				</tr>
				<tr>
					<td class="field">联系电话：</td>
					<td><input type="text" name="contactPhone" class="text" id="contactPhone" value="${supplier.contactPhone}"> <font color="red">*</font><font color="red" id="contactPhone_span"></font></td>
				</tr>
				<tr>
					<td class="field">电子邮箱：</td>
					<td><input type="text" name="contactEmail" class="text" id="contactEmail" value="${supplier.contactEmail}"> </td>
				</tr>
				</tbody></table>
			</div>
			<div class="buttons">
				<input type="submit" name="update" id="update" value="修改" class="input-button">
				<input type="button" name="button" id="button" onclick="history.back(-1)" value="返回" class="input-button">
			</div>

		</form>
	</div>
</c:if>

<script type="text/javascript" src="js/provider/update.js"></script>


</body></html>